package com.tingyuge.base.thread.completion;

import lombok.Data;

import java.util.Random;

/**
 * @author xiaodao
 * @version 1.0
 * @date 2021/3/21
 */
public class Test2 {
    public static void main(String[] args) {
        Random random = new Random();
        for (int i = 0; i <10 ; i++) {
            System.out.println(random.nextInt(10));
        }
        BBBBBB bbbbbb = new BBBBBB();

        System.out.println(new BBBBBB().equals(new BBBBBB()));
        System.out.println(bbbbbb.equals(bbbbbb));
    }


    @Data
    static class  BBBBBB{
        private int out ;
    }
}
